package user.factory;

import user.NormalUser;
import user.User;

import java.io.IOException;

public class NormalUserFactory implements IUserFactory{
    @Override
    public User createUser(String name, int userID){
        try {
            return new NormalUser(name,userID);
        } catch (IOException e) {
            throw new RuntimeException(e);
        }
    }
}
